import 'package:flutter/material.dart';
import 'package:yx_flutter/YXLocalizations.dart';

class YXBaseView extends StatelessWidget {
  YXBaseView(Map<String, dynamic> params, {Key key}) : super(key: key) {
    YXLocalizations.share().isEnglish = (params['language'] == 'en-us');
    YXLocalizations.share().token = params['token'];
  }

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
